@font-face {
  font-family: 'oas';
  src: url('./assets/fonts/oas.ttf');
  font-style: normal;
  font-weight: normal;
}

@font-face {
  font-family: 'luckiestguy';
  src: url('./assets/fonts/luckiestguy.ttf');
  font-style: normal;
  font-weight: normal;
}
@font-face {
  font-family: 'customChinese';
  src: url('./assets/fonts/customChinese.ttf');
  font-style: normal;
  font-weight: normal;
}

:root {
  font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  font-weight: 400;
  color-scheme: light dark;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  padding: 0;
  display: flex;
  place-items: center;
  min-width: 320px;
  min-height: 100vh;
  overflow: hidden;
  user-select: none;
}

#app {
  width: 100vw;
  height: 100vh;
}

.ant-card {
  flex: 1;
  margin-bottom: 16px;
  box-shadow: 0 1px 2px -2px rgba(0, 0, 0, 0.16), 0 3px 6px 0 rgba(0, 0, 0, 0.12), 0 5px 12px 4px rgba(0, 0, 0, 0.09);

  .ant-card-body {
    padding: 16px;
  }
}

/* 自定义整个滚动条 */
::-webkit-scrollbar {
  width: 8px; /* 设置滚动条的宽度 */
}

/* 自定义滚动条轨道 */
::-webkit-scrollbar-track {
  background: #f1f1f1; /* 设置轨道的背景颜色 */
  border-radius: 4px;
}

/* 自定义滚动条的滑块（thumb） */
::-webkit-scrollbar-thumb {
  background: #888; /* 设置滑块的背景颜色 */
  border-radius: 4px;
}

/* 当滑块悬停或活动时，可以添加更多样式 */
::-webkit-scrollbar-thumb:hover {
  background: #555; /* 设置滑块在悬停状态下的背景颜色 */
}
